home *** CD-ROM | disk | FTP | other *** search
/ Programming Microsoft Visual Basic .NET / Programming Microsoft Visual Basic .NET (Microsoft Press)(X08-78517)(2002).bin / 24 aspnet applications / aspnetapplications / responseform.aspx < prev    next >
Encoding:
ASP.NET Web Form  |  2002-03-18  |  2.2 KB  |  40 lines

  1. <%@ Page Language="vb" AutoEventWireup="false" Codebehind="ResponseForm.aspx.vb" Inherits="AspnetApplications.ResponseForm" trace="False"%>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  3. <HTML>
  4.     <HEAD>
  5.         <title>ResponseForm</title>
  6.         <meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
  7.         <meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
  8.         <meta content="JavaScript" name="vs_defaultClientScript">
  9.         <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  10.     </HEAD>
  11.     <body>
  12.         <form id="Form1" method="post" runat="server">
  13.             <H1>Response object demo</H1>
  14.             <P>This page demonstrates several new features of the Response object, such as: the 
  15.                 WriteFile method, the ability to send binary output to the OutputStream 
  16.                 property, cookie creation and enumeration, the Filter property to create outout 
  17.                 filters, the Session and the Application collections.</P>
  18.             <P> </P>
  19.             <P><asp:hyperlink id="HyperLink1" runat="server" NavigateUrl="ResponseForm.aspx?doctitle=sampledoc">Click here to display a file</asp:hyperlink></P>
  20.             <P><asp:linkbutton id="btnImage" runat="server">Click here to display an image</asp:linkbutton> 
  21.                 <asp:textbox id="txtImageTitle" runat="server">Sample Text</asp:textbox></P>
  22.             <P><asp:image id="Image1" runat="server"></asp:image></P>
  23.             <P><asp:linkbutton id="btnCookie" runat="server">Create a cookie</asp:linkbutton>     
  24.                 Name
  25.                 <asp:textbox id="txtCookieName" runat="server" Width="122px"></asp:textbox>  
  26.                 Value 
  27.                 <asp:textbox id="txtCookieValue" runat="server"></asp:textbox></P>
  28.             <P><STRONG>Current cookies:</STRONG></P>
  29.             <P><asp:literal id="litCookieValues" runat="server"></asp:literal></P>
  30.             <P><asp:checkbox id="chkConvert" runat="server" Text="Activate a filter that converts &lt;b&gt; into &lt;strong&gt;" AutoPostBack="True"></asp:checkbox></P>
  31.             <P><STRONG>Session information:</STRONG></P>
  32.             <P><asp:literal id="litSessionInfo" runat="server"></asp:literal></P>
  33.             <P> </P>
  34.             <P><STRONG>Application information</STRONG></P>
  35.             <P><asp:literal id="litApplicationInfo" runat="server"></asp:literal></P>
  36.             <P>  </P>
  37.         </form>
  38.     </body>
  39. </HTML>
  40.